home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PATHCONF(3) MINTLIB LIBRARY FUNCTIONS PATHCONF(3)
-
-
- N✓NA✓AM✓ME✓E
- pathconf - query file system related limits and options
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <unistd.h>
-
- long pathconf(const char *path, int name);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- pathconf provides a method for the application to deter-
- mine the current value of a configurable limit or option
- that is associated with the file-system containing the
- file or directory named in path.
-
- The following parameters to pathconf are supported:
-
- Name Meaning Note
- _PC_LAST max limit # for pathconf NOT POSIX
- _PC_IOPEN_MAX internal limit on open files NOT POSIX
- _PC_LINK_MAX max # of links POSIX
- _PC_PATH_MAX max len of a full pathname POSIX
- _PC_NAME_MAX max len of individual name POSIX
- _PC_PIPE_BUF bytes written atomically to fifo POSIX
- _PC_NO_TRUNC filename truncation POSIX
-
- R✓RE✓ET✓TU✓UR✓RN✓N V✓VA✓AL✓LU✓UE✓ES✓S
- pathconf returns the current variable value on success.
- On failure, it returns -1 and sets errno to indicate the
- error.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- s✓sy✓ys✓sc✓co✓on✓nf✓f(✓(3✓3)✓),✓, D✓Dp✓pa✓at✓th✓hc✓co✓on✓nf✓f(✓(2✓2)✓)
-
- N✓NO✓OT✓TE✓E
- It's a pity this routine does not conform to POSIX; but
- then, it's even more a pity that MiNT does not comply...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-